#ifndef _DSWLANMSGSESSION_H
#define _DSWLANMSGSESSION_H
#include <libdswsession/dswmsgsession_base.h>

class CDswlanmsgsession : public CDswmsgsession_base
{
public:
	CDswlanmsgsession(LPST_ENV_T pEnv, struct event_base *base, int nfd, char* pKey);
	virtual ~CDswlanmsgsession();
private:
	void MakeReportPUAV2(CMarkup & xml);
protected:
	virtual int MakePayloadLength(char* pData, int nLen){return *((int*)pData);};
	virtual void SendMsg(char* pMsg);
	virtual void OnError(struct bufferevent * bev, short events);
private:
	char m_sKey[64];
};

#endif

